/**
 * 
 */
package com.mc.hutool;

import java.io.BufferedInputStream;
import java.io.File;
import java.util.List;

import cn.hutool.core.io.FileUtil;

/**
 * @author w.weizhen
 *
 */
public class FileUtilTest {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		//复制文件
//		File file = FileUtil.copy("D:/hynetic/file/", "D:/文件/日期文件/202311291/", true);
////		File file = new File("D:/文件/日期文件/202311291/file/wechat/Screenshot_10.png");
//		System.out.println(file.lastModified());
		
		//读取文本内容
//		File file = new File("D:\\workSpace\\garden-space\\mu-chun-util\\data\\platform/info-hs-platform-0.log");
//		List<String> lines = FileUtil.readLines(file, "UTF-8");
//		System.out.println(lines.size());
		
		//文件修改时间
		File file = new File("D:\\hynetic\\tmp\\note.txt");
		System.out.println(file.lastModified());
		
		
		
	}
}